package com.example.demo.service;

import com.example.demo.domain.entity.TrainHomework;
import com.example.demo.domain.entity.TrainHomeworkProblem;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author DaoJia
* @description 针对表【train_homework_problem(培训系统-作业-题目关系)】的数据库操作Service
* @createDate 2024-02-02 15:07:40
*/
public interface TrainHomeworkProblemService extends IService<TrainHomeworkProblem> {

    void removeByHwIdAndProblemId(Long homeworkId, List<Long> problemId);

    List<TrainHomeworkProblem> queryByHwId(Long homeworkId);

    void deleteByHwId(Long homeworkId);

    void deleteByProblemIds(List<Long> problemIds);

    List<TrainHomeworkProblem> queryByHwIds(List<Long> homeworkIds);
}
